"""
25 - Dars
"""
import random

X = random.randint(1, 101)
USER_NUM = 0
CNT = 0

while True:
    USER_NUM = int(input('Sonni top: '))
    CNT += 1

    if USER_NUM == X:
        print(f'Sonni topding. Urinishlar soni: {CNT} ')
        print('Raxmat')
        break
    if USER_NUM >= X:
        print('Komputer o\'ylagan son kichik.')
    else:
        print('Komputer o\'ylagan son katta.')
